package ZiXi;

import java.util.Scanner;

public class zixi04 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入一个大于0的整数代表月份");
        int num=sc.nextInt();
        if(num>=1&&num<=3){
            System.out.println("第一季度");
        }else if(num>=4&&num<=6){
            System.out.println("第二季度");
        }else if(num>=7&&num<=9){
            System.out.println("第三季度");
        }else if(num>=10&&num<=12){
            System.out.println("第四季度");
        }else {
            System.out.println("输入月份不合法");
        }
    }
}
